package com.qidianit.mes.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author 奇幻夜之梦
 * @Company 起点编程
 * @Description
 * @Time 2024/10/24 10:07
 */
public class SOP {
    private Long sopId;// 记录ID
    private Long sopMaterialId;// 物料产品ID
    private Integer sopOrder;// 排列顺序
    private String processId;// 对应的工序编号
    private String processName;// 工序名称
    private String sopTitle;// 标题
    private String sopDescription;// 详细描述
    private String sopUrl;// 图片地址
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;// 创建时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date modifyTime;// 更新时间

    public Long getSopId() {
        return sopId;
    }

    public void setSopId(Long sopId) {
        this.sopId = sopId;
    }

    public Long getSopMaterialId() {
        return sopMaterialId;
    }

    public void setSopMaterialId(Long sopMaterialId) {
        this.sopMaterialId = sopMaterialId;
    }

    public Integer getSopOrder() {
        return sopOrder;
    }

    public void setSopOrder(Integer sopOrder) {
        this.sopOrder = sopOrder;
    }

    public String getProcessId() {
        return processId;
    }

    public void setProcessId(String processId) {
        this.processId = processId;
    }

    public String getProcessName() {
        return processName;
    }

    public void setProcessName(String processName) {
        this.processName = processName;
    }

    public String getSopTitle() {
        return sopTitle;
    }

    public void setSopTitle(String sopTitle) {
        this.sopTitle = sopTitle;
    }

    public String getSopDescription() {
        return sopDescription;
    }

    public void setSopDescription(String sopDescription) {
        this.sopDescription = sopDescription;
    }

    public String getSopUrl() {
        return sopUrl;
    }

    public void setSopUrl(String sopUrl) {
        this.sopUrl = sopUrl;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }
}

